<?php $this->beginBlock('main'); ?>
<?php if($this->hasBlock('formtab')): ?>
<div class="formtab">
<?php echo $this->renderBlock('formtab'); ?>
</div>
<?php endif; ?>
<div class="form-title">
<span>提示：带红<span class="red">*</span>号字段必须填写</span>
</div>
<?php echo $this->renderBlock('form'); ?>
<div class="buttons">
<?php
if($this->hasBlock('buttons')):
	echo $this->renderBlock('buttons');
else:
	$t = $this->toolbar();
	echo $t->begin();
	if($this->returnUrl):
		echo $t->renderItem($this->link($this->__('button.back'), $this->returnUrl));
	endif;
	echo $t->renderItem($this->linkButton($this->__('button.save'), "submitForm('form')"));
	echo $t->end();
endif;
?>
</div>
<?php
$this->endBlock();
echo $this->extend('template'.DS.'default');